<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/23
 * Time: 14:54
 */

namespace app\mobile\controller;


use app\Model\UsersModel;
use think\Controller;
//手机端公共
class Common extends Controller
{
    //验证是否登陆
    public function yanz(){
        if (!(session('user'))){
            $this->redirect('Login/login');
        }
        return true;
    }
}